package mapper;

import com.sqsf.javabean.User;

import java.util.List;

public interface UserMapper {
    List<User> selectAll();

    List<User> selectByUser(User user);


    List<User> selectByUserOne(User user);


    int updateByUser(User user);

    int trimTest();

    //根据数组批量删除数据
    int deleteByArray(int[] ids);

    //根据集合批量添加数据
    int insertList(List<User> users);

}
